<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ include file="/WEB-INF/layouts/base.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>创建管理员</title>
<link rel="stylesheet" href="${ctxsta}/admin/main/css/style.css" />
<link rel="stylesheet" href="${ctxsta}/common/icheck/flat/green.css" />
<!--引入CSS-->
<link rel="stylesheet" type="text/css" href="${ctxsta}/common/webuploader-0.1.5/webuploader.css">
<link rel="stylesheet" type="text/css" href="${ctxsta}/goods/webuploader-0.1.5/css/style.css">
<!--引入JS-->
<script type="text/javascript" src="${ctxsta}/common/jquery/jquery-3.1.1.min.js"></script>
<!--引入JS-->
<script type="text/javascript" src="${ctxsta}/common/webuploader-0.1.5/webuploader.js"></script>
<!-- 自定义js --> 
<script src="${ctxsta}/goods/webuploader-0.1.5/upload.js"></script>

</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
  <div class="row">
  <form id="form" class="form-horizontal">
  	<input type="hidden" name = "productId" value="${productId}">
  	
  	<div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>商品图片<small> 添加带销售产品。</small></h5>
          <div class="ibox-tools"> <a class="collapse-link"><i class="fa fa-chevron-up"></i></a> <a class="close-link"><i class="fa fa-times"></i></a> </div>
        </div>
        <div class="ibox-content">
          
            <%-- <div class="form-group m-t">
              <label class="col-sm-2 control-label">图片：</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="loginName">
              </div>
              <label class="col-sm-2 control-label">排序：</label>
              <div class="col-sm-4">
                <input type="password" maxlength="18" class="form-control" name="loginPassword">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">是否显示：</label>
              <div class="col-sm-4">
                <label class="radio-inline add-radio"><input type="radio" name="status" value="1" checked="checked"> 是</label>
                <label class="radio-inline add-radio"><input type="radio" name="status" value="0">否</label>
              </div>
            </div>
            <div class="hr-line-dashed"></div>
            <div class="form-group">
              <div class="col-sm-4 col-sm-offset-4 add-submit">
                <input type="hidden" class="form-control" name="userId" value="${user.userId}">
                <button class="btn btn-primary" type="submit" id="submit">提交</button>
              </div>
            </div> --%>
            
        </div>
      </div>
    </div>
  	
  	 <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>所属分类<small> 添加带销售产品。</small></h5>
          <div class="ibox-tools"> 
	          <a class="collapse-link"><i class="fa fa-chevron-up"></i></a> 
	          <a class="close-link"><i class="fa fa-times"></i></a> 
          </div>
        </div>
        <div class="ibox-content">
            <div id="uploader">
                <div class="queueList">
                    <div id="dndArea" class="placeholder">
                        <div id="filePicker"></div>
                        <p>或将照片拖到这里，单次最多可选300张</p>
                    </div>
                </div>
                <div class="statusBar" style="display:none;">
                    <div class="progress">
                        <span class="text">0%</span>
                        <span class="percentage"></span>
                    </div><div class="info"></div>
                    <div class="btns">
                        <div id="filePicker2"></div>
                        <div class="uploadBtn">开始上传</div>
                        <div class="saveBtn">保存图片</div>
                    </div>
                </div>
            </div>
        </div>
      </div>
    </div>
  
    
    

    </form>
  </div>
</div>
<myfooter> 
  <!-- iCheck --> 
  <script src="${ctxsta}/common/icheck/icheck.min.js"></script> 
  <!-- bootstrapvalidator-master前端验证框架 --> 
  <script src="${ctxsta}/common/bootstrapvalidator-master/js/bootstrapValidator.min.js"></script> 
  <!-- 自定义js --> 
  <script src="${ctxsta}/goods/main/js/goods_list_set_image.js"></script> 

</myfooter>
</body>
</html>
